package com.cans.model.pms;

import com.cans.model.BaseModel;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * @author: cans
 * @date: 2018/4/30
 * @description:
 */
@Entity
@Table(name = "sys_role_group")
public class SysRoleGroup extends BaseModel {

    /**
     * 父级ID,顶级-1
     */
    @Column(name = "parent_id")
    private String parentId;
    /**
     * 角色组名称
     */
    @Column(name = "role_group_name")
    private String roleGroupName;
    /**
     * 角色组编码
     */
    @Column(name = "role_group_code")
    private String roleGroupCode;
    /**
     * 描述
     */
    @Column(name = "description")
    private String description;
    /**
     * 是否预置
     */
    @Column(name = "init")
    private Integer init;

    public String getRoleGroupName() {
        return roleGroupName;
    }

    public void setRoleGroupName(String roleGroupName) {
        this.roleGroupName = roleGroupName;
    }

    public String getRoleGroupCode() {
        return roleGroupCode;
    }

    public void setRoleGroupCode(String roleGroupCode) {
        this.roleGroupCode = roleGroupCode;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public Integer getInit() {
        return init;
    }

    public void setInit(Integer init) {
        this.init = init;
    }

    public String getParentId() {
        return parentId;
    }

    public void setParentId(String parentId) {
        this.parentId = parentId;
    }
}
